package com.cc.mall.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cc.mall.entity.OfflineOrderEntity;
import com.cc.mall.entity.OnlineOrderEntity;
import com.cc.mall.vo.OrderDetail;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-09 20:57:52
 */
public interface OnlineOrderService extends IService<OnlineOrderEntity> {

    List<OfflineOrderEntity> getOrderList(Map<String,Object> params);

    List<OrderDetail> getOnlineOrderDetailByOrderId(Long orderId);

    Map payOrderWx(Long orderId);

    Page<OnlineOrderEntity> getOnlineOrderList(Map<String, Object> params);
}

